#ifndef CYLINDER_H_
#define CYLINDER_H_

#include "object3d.h"
#include "../d_Math/d_Math.h"

class Cylinder : Object3D
{
public:
	Cylinder(float r, float h, Material *mat);
	~Cylinder();
	bool intersect(const Ray &r, Hit &h, float tmin);
	bool inside(d_Vec3f point);
	
	float radius;
	float height;
};

#endif /*CYLINDER_H_*/
